import greenfoot.*;  // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)

/**
 * Write a description of class Bueiro here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
public class Bueiro extends Artificio{
        private int coordenadaXDestino;
        private int coordenadaYDestino;


    /**
     *Insere no objeto bueiro as coordenadas do outro objeto
     */
    public void setarDestino(int x, int y){
        this.coordenadaXDestino = x;
        this.coordenadaYDestino = y;
    }

    public int retornaCoordenadaXDestino(){
        return coordenadaXDestino;
    }
    
    public int retornaCoordenadaYDestino(){
        return coordenadaYDestino;
    }
    
    /**
     * Act - do whatever the Bueiro wants to do. This method is called whenever
     * the 'Act' or 'Run' button gets pressed in the environment.
     */
    public void act() 
    {
        // Add your action code here.
    }    
}
